Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added PoiType Registration to WorldGen #103

Open
wants to merge 1 commit into
base: 1.20.1
Choose a base branch
from

Conversation

maloryware
Copy link

Title; Cherry-pick at will

@maloryware maloryware changed the title Added PoiType Registering to WorldGen Added PoiType Registration to WorldGen Nov 30, 2024
T poiType = supplier.get();
Registry.register(BuiltInRegistries.POINT_OF_INTEREST_TYPE, identifier, poiType);
return poiType;
}).resolveImmediately();
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

PoiType is managed in ForgeRegistries so it has to be registered via DeferredRegisters similar to registerFeature.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants